package com.jf.blog_jf04.data.ov;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("博客查询")
public class BlogSearchOV {
    @ApiModelProperty("博客标题，模糊查询")
    private String title;
    @ApiModelProperty("分类编号")
    private Integer categoryId;
    @ApiModelProperty(value = "是否允许评论1允许2禁止", allowableValues = "1,2")
    private Integer hasComment;
    @ApiModelProperty(value = "博客状态1发表2草稿", allowableValues = "1,2")
    private Integer blogStatus;
    @ApiModelProperty(value = "博客状态1可用2禁用", allowableValues = "1,2")
    private Integer status;
    @ApiModelProperty("播客作者编号")
    private Integer createUser;
    @ApiModelProperty("博客发表时间范围")
    private String[] applyTimeRange;
    @ApiModelProperty(value = "查询状态1全部2当前", allowableValues = "1,2", example = "1")
    private Integer type = 1;
}
